#ifndef _ASSERT_H_
#define _ASSERT_H_

#include <stddef.h>

void ASSERTIONFAILED(const char *file, size_t line, const char *func, const char *cond);

#define ASSERT(cond) { \
	if (!cond) { \
		ASSERTIONFAILED(__FILE__, __LINE__, __func__, #cond); \
	} \
}

#endif
